#ifndef XDIVA_MATHNODEITEM_H
#define XDIVA_MATHNODEITEM_H

#include "NodeItem.h"

class MathNodeItem: public NodeItem {
	Q_OBJECT

public:
	MathNodeItem( std::string, xMappingTree *, AbstractManager * );
	MathNodeItem( xMappingNode *, AbstractManager * );

	virtual void postPaint( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget );
	virtual bool validate() const;

private slots:
	void onPortListChanged( NodeItem * );
};

#endif
